﻿namespace Jinjia.Approve.Model.Const
{
    /// <summary>
    /// 飞书三方审批实例状态常量
    /// </summary>
    public static class FeiShuFlowInstanceStatusConst
    {
        /// <summary>
        /// 审批中
        /// </summary>
        public const string Pending = "PENDING";

        /// <summary>
        /// 审批流程结束，结果为同意
        /// </summary>
        public const string Approved = "APPROVED";

        /// <summary>
        /// 审批流程结束，结果为拒绝
        /// </summary>
        public const string Rejected = "REJECTED";

        /// <summary>
        /// 审批发起人撤回
        /// </summary>
        public const string Canceled = "CANCELED";

        /// <summary>
        /// 审批被删除
        /// </summary>
        public const string Deleted = "Deleted";

        /// <summary>
        /// 状态隐藏(不显示状态)
        /// </summary>
        public const string Hidden = "HIDDEN";

        /// <summary>
        /// 审批终止
        /// </summary>
        public const string Terminated = "TERMINATED";
    }

    /// <summary>
    /// 飞书三方审批实例任务状态常量
    /// </summary>
    public static class FeiShuFlowTaskStatusConst
    {
        /// <summary>
        /// 审批中
        /// </summary>
        public const string Pending = "PENDING";

        /// <summary>
        /// 审批流程结束，结果为同意
        /// </summary>
        public const string Approved = "APPROVED";

        /// <summary>
        /// 审批流程结束，结果为拒绝
        /// </summary>
        public const string Rejected = "REJECTED";

        /// <summary>
        /// 任务转交
        /// </summary>
        public const string Transferred = "TRANSFERRED";

        /// <summary>
        /// 任务通过但审批人未操作；审批人看不到这个任务, 若想要看到, 可以通过抄送该人.
        /// </summary>
        public const string Done = "DONE";
    }
}